package com.moetube.search.handler;

/**
 * 定义异常类
 */
public class MyException extends RuntimeException {
    String message;

    public MyException(String message){
        super(message);
        this.message=message;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
